package com.winit.schedule.webc.support;

import com.winit.schedule.webc.annotation.ResponseType;

public class AbstractResponse implements Response {

    private ResponseType responseType;

    private Object       value;

    public AbstractResponse(ResponseType responseType, Object value){
        super();
        this.responseType = responseType;
        this.value = value;
    }

    @Override
    public ResponseType getResponseType() {
        return responseType;
    }

    @Override
    public Object getValue() {
        return value;
    }

    public void setResponseType(ResponseType responseType) {
        this.responseType = responseType;
    }

    public void setValue(Object value) {
        this.value = value;
    }

}
